﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddScholarShipData.aspx.cs" Inherits="WebApplication1.AddScholarShipData" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style34
        {
            width: 176px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
    <tr>
    <td></td>
     <td></td>
      <td>
          <asp:Label ID="lblAddScholDta" runat="server" Font-Bold="True" 
              Font-Size="Small" ForeColor="#CC0000"></asp:Label>
        </td>
    </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label6" runat="server" Text="Scholarship Name"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlScholrshipDataScholrShipName" runat="server" 
                    style="margin-left: 11px" Width="206px" 
                    onselectedindexchanged="ddlScholrshipDataScholrShipName_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label7" runat="server" Text="Student Name"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlScholrshipDataStudentName" runat="server" 
                    style="margin-left: 11px" Height="17px" Width="200px" 
                    onselectedindexchanged="ddlScholrshipDataStudentName_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label8" runat="server" Text="Amount"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtScholrshipDataAmount" runat="server" style="margin-left: 9px" 
    Width="205px"></asp:TextBox>
    <asp:CompareValidator ID="cvScholarValue0" runat="server" 
        ControlToValidate="txtScholrshipDataAmount" 
        ErrorMessage="This Should be an numeric value" 
        ondatabinding="btnScholashipDataSubmit_Click" Operator="DataTypeCheck" 
        Type="Double"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label9" runat="server" Text="Amount Settled On"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtScholrshipDataAmtSettledOn" runat="server" 
                    style="margin-left: 9px" Width="203px" Height="24px"></asp:TextBox>
    <asp:CompareValidator ID="cvScholarValue1" runat="server" 
        ControlToValidate="txtScholrshipDataAmtSettledOn" 
        ErrorMessage="This Should be a date value  yyyy/mm/dd format" 
        ondatabinding="btnScholashipDataSubmit_Click" Operator="DataTypeCheck" 
        Type="Date"></asp:CompareValidator>
            </td>
        </tr>
         <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label1" runat="server" Text="Amount Settled By"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlScholarshipAmtSettledBy" runat="server" Height="23px" 
                    onselectedindexchanged="ddlScholarshipAmtSettledBy_SelectedIndexChanged" 
                    Width="210px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label10" runat="server" Text="Acknowledged On"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtScholrshipDataAckOn" runat="server" 
                    style="margin-left: 10px" Height="23px" Width="203px"></asp:TextBox>
    <asp:CompareValidator ID="cvScholarValue2" runat="server" 
        ControlToValidate="txtScholrshipDataAckOn" 
        ErrorMessage="This Should be a date value with yyyy/mm/dd format" 
        ondatabinding="btnScholashipDataSubmit_Click" Operator="DataTypeCheck" 
        Type="Date"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Label ID="Label61" runat="server" Text="Notes"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtScholarshipDataNotes" runat="server" 
                    style="margin-left: 10px" Height="62px" TextMode="MultiLine" Width="338px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td class="style34">
                <asp:Button ID="btnScholashipDataSubmit" runat="server" style="margin-left: 86px" 
    Text="Submit" onclick="btnScholashipDataSubmit_Click" />
            </td>
            <td>
                <asp:Button ID="btnScholashipDataCancel" runat="server" style="margin-left: 77px" 
    Text="Cancel" />
            </td>
        </tr>
    </table>
</asp:Content>
